package com.babyqiao.wallpaper.manager.dao;

import com.babyqiao.wallpaper.manager.controller.dto.AlbumPicQuery;
import com.babyqiao.wallpaper.manager.entity.WallpaperAlbumPic;
import com.babyqiao.wallpaper.manager.entity.vo.AlbumPicResVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.stereotype.Repository;

/**
 * @author qinglongzhai
 * @date 2020/12/10
 */
@Repository
public interface AlbumPicMapper extends BaseMapper<WallpaperAlbumPic> {
    /**
     * 多表分页带条件查询
     *
     * @param page          分页
     * @param albumPicQuery 查询条件
     * @return Page
     */

    Page<AlbumPicResVO> findAndPage(Page<AlbumPicResVO> page, AlbumPicQuery albumPicQuery);

}
